package cn.group.service;


import cn.group.domain.SC;
import cn.group.domain.Student;
import com.github.pagehelper.PageInfo;
import java.util.List;

public interface SCService {
    List<SC> getAll();
    PageInfo<SC> getAllStu(Integer currentPage, Integer pageSize,Integer id);
    PageInfo<SC> queryAll(Integer currentPage, Integer pageSize);
    SC getOneById(Integer id); //查询一个数据
    boolean addOne(Integer sid,Integer cid ,Integer score);
    boolean removeOne(SC sc);
    boolean changeOne(SC sc);

    PageInfo<SC> queryByHteacherId(Integer currentPage, Integer pageSize, Integer id);

    PageInfo<SC> queryBytteacherId(Integer currentPage, Integer pageSize, Integer id);
}
